import request from '@/utils/request'

// 查询二维码扫码列表
export function listQr_scanning(query) {
  return request({
    url: '/eim-core/qr_scanning/list',
    method: 'get',
    params: query
  })
}

// 查询二维码扫码详细
export function getQr_scanning(id) {
  return request({
    url: '/eim-core/qr_scanning/' + id,
    method: 'get'
  })
}

// 新增二维码扫码
export function addQr_scanning(data) {
  return request({
    url: '/eim-core/qr_scanning',
    method: 'post',
    data: data
  })
}

// 修改二维码扫码
export function updateQr_scanning(data) {
  return request({
    url: '/eim-core/qr_scanning',
    method: 'put',
    data: data
  })
}

// 删除二维码扫码
export function delQr_scanning(id) {
  return request({
    url: '/eim-core/qr_scanning/' + id,
    method: 'delete'
  })
}
